package com.quectel.core.module.device.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 设备当前告警
 *
 * @author caolu
 * @email louis.cao@quectel.com
 * @date 2019-06-14 15:14:16
 */
@Data
@TableName("device_current_alarm")
public class DeviceCurrentAlarmEntity {

    /**
     *
     */
    @TableId
    private Long id;
    /**
     * imei
     */
    private String imei;
    /**
     * 租户id
     */
    private Long tenantId;
    /**
     *
     */
    private Long deviceId;
    /**
     *
     */
    private Long deviceCategoryId;
    /**
     *
     */
    private Long deviceTypeId;
    /**
     * 所属小区ID
     */
    private Long villageId;

    /**
     * 楼栋id
     */
    private Long buildingId;

    /**
     *
     */
    private Long ruleId;
    /**
     * 告警详情json
     */
    private String alarmDetailJson;
    /**
     * 收到的数据
     */
    private String recData;
    /**
     * 告警时间
     */
    private Date alarmTime;


}
